package com.codi.message.constant;

/**
 * 错误编码
 *
 * @author shi.pengyan
 * @date 2016年10月31日 下午7:08:36
 */
public interface ErrorConst {

    int COMMON_SYSTEM_ERROR = 1022;

    int COMMON_INVALID_LOGINID_OR_PWD = 1001;

    /* 非法参数 */
    int COMMON_INVALID_PARAM = 4001;

    /* 非法请求 */
    int COMMON_INVALID_REQUEST = 1023;

    /* 基金不存在 */
    int FUND_NOT_EXIST = 1024;

    /* 非法的基金类型编码 */
    int COMMON_INVALID_FUND_TYPE_CODE = 4002;

    /* 非法的排序参数 */
    int COMMON_INVALID_PARAM_SORT = 4003;


    // organ
    int ORGAN_IS_NOT_EXIST = 3000;

    int ORGAN_VALID_MOBILE_IS_NOT_SAME = 3001;

    int ORGAN_ROLE_PERMISSION_ONLY = 3002;

    int ORGAN_PROFILE_IS_NULL = 3003;

    int ORGAN_BANK_IS_NULL = 3004;

    int ORGAN_BASIC_PROFILE_IS_EXIST = 3005;

    int ORGAN_BIZ_LICENCE_EXIST = 3007;

    int ORGAN_OPEN_ACCT_IS_NOT_SUC = 3006;

    int ORGAN_AUDIT_NOT_PASS_TIP = 3008;

    int ORGAN_FASTREDEEM_JINYING_NOT_IN_SUPPORT_TIME    = 3009;
    int ORGAN_FASTREDEEM_CHANGCHENG_NOT_IN_SUPPORT_TIME = 3010;

    int WALLET_HAS_REACH_MAX_REDEEM_TIME = 3011;

    int WALLET_HAS_REACH_MAX_SINGLE_DEAL = 3012;

    int WALLET_HAS_REACH_MAX_DAY_DEAL = 3013;

    int WALLET_HAS_REACH_MAX_MONTH_DEAL = 3014;

    // user
    int USER_ROLE_CANNOT_LOGIN_BY_ORGAN_UI = 4000;


    // 历史遗留短信
    int SMS_INVLIAD = 1009;

    int MOBILE_HAS_EXIST = 1003;

    int COMMON_SMS_NEW_MOBILE_ERROR = 4004;

    int WALLET_INVALID_FUND_CODE = 1100;

    int COMMON_USER_PERMISSION_ONLY = 4100;


    // portfolio
    int TRADE_ACCOUNT_NOT_FUND = 3100;

    int RISK_LEVEL_NOT_FUND = 3101;

    int PORTFOLIO_IS_NOT_EXIST = 3102;

    int PORTFOLIO_TRADE_UNDO_IS_REPEAT = 3103;

    int PORTFOLIO_ENABLE_SHARES_IS_ZERO = 3104;

    int PORTFOLIO_OVER_ENABLE_SHARES = 3105;

    int PORTFOLIO_COMB_REDEEM_RATE_ERROR = 3106;

    int TRADE_IS_NOT_EXIST = 1067;

    // 赎回转购
    int COMMON_NOT_SUPPORT_PAY_TYPE = 3200;

    int SELL_FUND_CODE_IS_NULL = 3201;

    int OFFLINE_MIN_VALUE_LIMIT = 3202;

    int T0_FUND_CODE_ERROR = 3203;

}
